Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@smithy/url-parser

Package Overview
Dependencies
Maintainers
2
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smithy/url-parser

[![NPM version](https://img.shields.io/npm/v/@smithy/url-parser/latest.svg)](https://www.npmjs.com/package/@smithy/url-parser) [![NPM downloads](https://img.shields.io/npm/dm/@smithy/url-parser.svg)](https://www.npmjs.com/package/@smithy/url-parser)

  • 1.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
18M
increased by4.47%
Maintainers
2
Weekly downloads
 
Created

What is @smithy/url-parser?

@smithy/url-parser is a utility package designed to parse URLs. It is part of the Smithy framework, which is used for building SDKs for AWS services. This package provides a simple and efficient way to parse URLs into their components, such as protocol, hostname, path, query parameters, and more.

What are @smithy/url-parser's main functionalities?

Parse URL

This feature allows you to parse a URL into its components. The `parseUrl` function takes a URL string and returns an object containing the protocol, hostname, path, query parameters, and hash.

const { parseUrl } = require('@smithy/url-parser');
const url = 'https://example.com/path?name=value#hash';
const parsedUrl = parseUrl(url);
console.log(parsedUrl);

Other packages similar to @smithy/url-parser

FAQs

Package last updated on 24 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc